using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

public sealed class UserMap : EntityTypeConfiguration<User>
{
	public UserMap()
	{
		HasKey(x => x.Id);
        Property(x => x.Id).HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
		Property(x => x.Name).HasMaxLength(80);
        Property(x => x.Guid).HasMaxLength(80);
	}
}
